<UserControl x:Class="QUT.Bio.SilverMap.SearchControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/QUT.Bio;component/SilverMap/Theme.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
			<ColumnDefinition Width="auto" />
			<ColumnDefinition Width="auto" />
		</Grid.ColumnDefinitions>
		<TextBox AcceptsReturn="False"
				 Grid.Column="0"
				 Name="searchText"
				 KeyDown="SearchTextKeyDown" 
				 Template="{StaticResource TextBoxTemplate}" BorderThickness="2" />
		<Button Content="Find"
				Grid.Column="1"
				Click="FindClick" Width="35" />
		<Button Content="Clear"
				Grid.Column="2"
				Click="ClearClick" Width="35"
		 />
	</Grid>
</UserControl>
